import store from "../../store"
const Other = () => {
    let { chatlog } = store.getState()

    let lis = chatlog.map((item, index) => {
        return <li key={index}>{item}</li>
    })
    return (
        <fieldset>
            <legend>其它组件</legend>
            <ul>
                {lis}
            </ul>
        </fieldset>
    )
}

export default Other